﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>MinPHP内容管理系统</title>

<link href="<?echo __WWWROOT__?>Admin/Public/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?echo __WWWROOT__?>Admin/Public/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?echo __WWWROOT__?>Admin/Public/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="<?echo __WWWROOT__?>Admin/Public/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE]>
<link href="<?echo __WWWROOT__?>Admin/Public/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->

<!--[if lte IE 9]>
<script src="<?echo __WWWROOT__?>Admin/Public/js/speedup.js" type="text/javascript"></script>
<![endif]-->

<script src="<?echo __WWWROOT__?>Admin/Public/js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/js/jquery.cookie.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/js/jquery.validate.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/xheditor/xheditor-1.2.1.min.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/xheditor/xheditor_lang/zh-cn.js" type="text/javascript"></script>
<script src="<?echo __WWWROOT__?>Admin/Public/uploadify/scripts/jquery.uploadify.js" type="text/javascript"></script>

<script src="<?echo __WWWROOT__?>Admin/Public/dwz/js/dwz.min.js" type="text/javascript"></script>

<script src="<?echo __WWWROOT__?>Admin/Public/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>

<script type="text/javascript">
$(function(){
	DWZ.init("<?echo __WWWROOT__?>Admin/Public/dwz/dwz.frag.xml", {
		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"<?echo __WWWROOT__?>Admin/Public/dwz/themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});

</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="http://j-ui.com">标志</a>
				<ul class="nav">
					<li><a href="System/setPwd.php" target="dialog">修改密码</a></li>
					<li><a href="javascript:;" onclick="logout()">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>

			<!-- navMenu -->
			
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>

				<div class="accordion" fillSpace="sidebar">
					<?echo $menus?>
				</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="pageContent pageForm">
							<div class="formBar">
								<ul>
									<li><?echo $_SESSION['SESSION_USER']['username']?> 欢迎光临!</li>
								</ul>
							</div>
							<div class="pageFormContent" layoutH="58">
							<table class="list">
								<tr class="row" ><th colspan="3" class="space">系统信息</th></tr>
								<?foreach($info as $detail){?>
								<tr class="row"><td width="15%"><?echo $detail[0]?></td><td><?echo $detail[1]?></td></tr>
								<?}?>
							</table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

	<div id="footer"><a href="http://www.minphp.cn" target="_blank">MinPHP提供支持</a></div>

	<script type="text/javascript">
		function logout(){
			alertMsg.confirm("您确定要退出系统吗？", {
				okCall: function(){
					window.location = "<?echo '../Admin/Login/logout.php'?>";
					return false;
				}
			});
		}
	</script>
</body>
</html>